<%- include('../../public/header.html')%>
   <table>
       <thead>
           <tr>
               <th>导航名称</th>
               <th>跳转地址</th>
               <th>新窗口打开</th>
               <th>排序</th>
               <th>状态</th>
               <th>操作</th>
           </tr>
       </thead>
       <tbody>
           <%for(var i =0;i<list.length;i++){%>
           <tr>
               <td><%=list[i].navname%></td>
               <td><%=list[i].link%></td>
               <!-- <td><%=list[i].place%></td> -->
               <td><%=list[i].opennew%></td>
               <td><%=list[i].sort%></td>
               <td align="center">
                <%if(list[i].status==1){%>
                    <img src="/admin/image/yes.gif" class="chstatus">

                    <%}else{%>
                    <img src="/admin/image/no.gif" class="chstatus"/>
                    <%}%>
            </td>
               <td>
                   <a href="/admin/nav/edit?id=<%=list[i]._id%>"  alt="">修改</a>
                   <a href="/admin/nav/delete?id=<%=list[i]._id%>" class="delete" alt="">删除</a>
               </td>
               
            </tr>
           <%}%>
       </tbody>
   </table>
</body>
</html>